package top.vanchor.myblog2back.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ding
 * @since 2022-02-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BlogReport implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 举报主键id
     */
    @TableId(value = "report_id", type = IdType.AUTO)
    private Integer reportId;

    /**
     * 举报类型：0用户，1博客，2评论
     */
    private Integer reportType;

    /**
     * 发起用户id
     */
    private Integer handleUserId;

    /**
     * 目标id
     */
    private Integer targetId;

    /**
     * 举报原因
     */
    private String reportReason;

    /**
     * 发起时间
     */
    private String reportHandleTime;

    /**
     * 处理时间
     */
    private String reportFinishTime;

    /**
     * 状态：0处理中<暂未受理>，1通过，2失败
     */
    private Integer reportStatus;

    /**
     * 后台给予用户的反馈
     */
    private String reportMsg;

    @TableField(exist = false)
    private String handleUserPhone;

    @TableField(exist = false)
    private String targetUserPhone;

    @TableField(exist = false)
    private Integer targetUserId;

    @TableField(exist = false)
    private String targetBody;

}
